
public abstract class Responsabil {
   protected Responsabil next;
   
   public Responsabil setNext(Responsabil r){
       this.next = r;
       return r;
   }
   public abstract void mesaj(javax.swing.JFrame f);
   public abstract boolean test(String s);
}
